package gat.domain.service.tg.impl;

import com.bitsun.core.common.persistence.BasePService;
import com.bitsun.core.common.persistence.IPService;
import gat.convertor.tg.TopupPriceReqDtoConvertor;
import gat.convertor.tg.TopupPriceResDtoConvertor;
import gat.domain.service.tg.TopupPriceDomainService;
import gat.infrastructure.persistence.dao.tg.TopupPriceMapper;
import gat.infrastructure.persistence.po.tg.TopupPricePo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Felix Woo （junfengwstar@gmail.com）
 * @Date: 2019-09-20 19:40
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Service("topupPriceDomainService")
public class TopupPriceDomainServiceImpl implements TopupPriceDomainService {

    @Autowired
    private TopupPriceReqDtoConvertor topupPriceReqDtoConvertor;

    @Autowired
    private TopupPriceResDtoConvertor topupPriceResDtoConvertor;

    private IPService<TopupPricePo> topupPricePoService;

    @SuppressWarnings("SpringJavaAutowiringInspection")
    public TopupPriceDomainServiceImpl(TopupPriceMapper topupPriceMapper) {
        this.topupPricePoService = new BasePService(topupPriceMapper);
    }
}